package com.zy.servicefeign.feign;

import com.zy.servicefeign.constant.ProjectConstant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * description
 *
 * @author ZY
 * @date 2021年01月22日 12:35
 **/
@FeignClient(name = ProjectConstant.GATE_WAY_NAME, path = ProjectConstant.MODULE_ORDER_PATH, contextId = ProjectConstant.GATE_WAY_NAME + ".OrderFeign")
public interface OrderFeign {

    /**
     * 订单模块测试接口1
     * @return 返回数据
     */
    @GetMapping("/test1")
    String test1();

    /**
     * 订单模块测试接口2
     * @return 返回数据
     */
    @GetMapping("/test2")
    String test2();
}
